<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd"
    >
<html lang="en">
<head>
    <title><?php echo $photo->getTitle(); ?></title>
</head>
<body>
<h1><?php echo $photo->getTitle(); ?></h1>
<?php
if ($photo instanceof HttpPhoto_I) {
    $url = $photo->getURL(new Dims(600, 800));
} else if ($photo instanceof UriPhoto_I) {
    $url = Site::getResizeURL($source_id, $photo->getId(), new Dims(600, 800));
}
?>
<img src='<?php echo $url; ?>' style='float:left'/>
<div style='background-color:#aaaaaa'>
<p><strong>F-Stop:</strong> <?php echo $photo->getMetadata('ApertureFNumber', true); ?></p>
<p><strong>Exposure Time:</strong> <?php echo $photo->getMetadata('ExposureTime'); ?> seconds</p>
<p><strong>Flash</strong>: <?php echo $photo->getMetadata('Flash'); ?></p>
<p><strong>Camera:</strong> <?php echo $photo->getMetadata('Model'); ?></p>
    
</div>
</body>
</html>
